<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
	<title>SongXiang-Blog</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<link rel="shortcut icon" href="__IMG__favicon.ico" />
	<link rel="stylesheet" href="__CSS__style-1.css" type="text/css" media="all" />
	<link rel="stylesheet" type="text/css" href="__CSS__lrtk.css" />
	<link rel="stylesheet" href="__CSS__base.css" type="text/css" media="all" />
	<script src="__JS__jquery-1.4.2.js" type="text/javascript" charset="utf-8"></script>
	<script src="__JS__jquery.jcarousel.js" type="text/javascript" charset="utf-8"></script>
	<script src="__JS__cufon-yui.js" type="text/javascript" charset="utf-8"></script>
	<script src="__JS__Arial.font.js" type="text/javascript" charset="utf-8"></script>
	<script src="__JS__js-func.js" type="text/javascript" charset="utf-8"></script>
	<script src="__JS__jquery.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>

<!-- 代码 开始 -->
<div class="Upper">
	<table style="width:100%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table style="width:600px" border="0" cellspacing="0" cellpadding="0" align="center">

				<tr>
					<td style="padding:70px 0 0" align="left" width="385">
					<h1 style="color:#f4f2ed"></h1>
					<p style="color:#d3f1a0"></p>
					</td>
					<td style="padding:15px 0 0" align="right" width="215">
					<img src="__IMG__Autom-Leaf.png"> </td>
				</tr>
				<tr>
					<td style="padding:10px 0" colspan="2" align="right">
					<DIV style="position: fixed;">
		<button id="botAgregar">叶子</button>						
</DIV>
					</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</div>
<script type="text/javascript">$.AutomLeafStart({leafsfolder:"__IMG__",howmanyimgsare:8,initialleafs:10,maxYposition:-10,multiplyclick:true,multiplynumber:2,infinite:true,fallingsequence:4000});$("#botAgregar").on("click",function(){$.AutomLeafAdd({leafsfolder:"__IMG__",add:8,})});</script>
<!-- 代码 结束 -->

<div class="shell">
	
      <!--导航start-->	
      <div id="apple-header" role="navigation" class="store decelerate enhanced outside" aria-label="Apple">
	<ul class="links">
		<li><a href="{:C('web_path')}" class="store" ><span>首页</span></a>	</li>
		<li><a  href="javascript:" ><span>代码</span></a>
				<ul class="ul-cate">
				<?php 
				 $cate = get_cateinfo();$arr = array();$arr = get_arr($cate,48);
				foreach ($arr['son'] as $r){?>
				<li><a href="<?=U('Index/cate',array('catid'=>$r['id'])) ?>"><?=$r['name']?></a></li>
				<?php }?>
			</ul>
		</li>
		<li><a href="javascript:" ><span>资料</span></a>
			<ul class="ul-cate">
				<?php 
				$arr = array();
				 $arr = get_arr($cate,54);
				foreach ($arr['son'] as $r){?>
				<li><a href="<?=U('Index/cate',array('catid'=>$r['id'])) ?>"><?=$r['name']?></a></li>
				<?php }?>
			</ul>
		</li>
		<li><a href="<?=U('Index/cate',array('catid'=>56)) ?>" ><span>百科</span></a></li>
		<li><a href="<?=U('Index/cate',array('catid'=>61)) ?>"><span>工具</span></a></li>
		<li><a href="javascript:" ><span>百态</span></a>
			<ul class="ul-cate">
				<?php 
				$arr = array();
				 $arr = get_arr($cate,62);
				foreach ($arr['son'] as $r){?>
				<li><a href="<?=U('Index/cate',array('catid'=>$r['id'])) ?>"><?=$r['name']?></a>
				</li>
				<?php }?>
				<li><a href="<?=U('Index/play',array('catid'=>$r['id'])) ?>">好玩</a></li>
				<li><a href="<?=U('Index/note',array('catid'=>$r['id'])) ?>">日记</a></li>
			</ul>
		</li>
		<li><a href="<?=U('Index/song') ?>" target="_blank"><span>关于</span></a></li>
	</ul>
	<div class="search">
		
<form role="search" class="site-search" id="site-search" action="/index/search" method="get">
	<div class="sitesearch-wrapper autocomplete focused">
		<div class="wrapper">
			<label for="site-search-query">搜索</label>
			<input name="search" type="text" value="{$search}" id="site-search-query"  />
		</div>
		<a style="background-color: #fff;" class="search-reset inputReset materializer gone hide"></a>
		<span style="" class="search-spinner"></span>
	</div>
	<input type="submit" style="display: none"/>
</form>
<div class="sp-magnify"><div class="magnify-searchmode"></div><div class="magnify"></div></div>
<script>
	$(function(){
		$("#site-search-query").focus(function(){
			$("#apple-header").addClass("searchmode");
			
		}).blur(function(){
			$("#apple-header").removeClass("searchmode");
		});
	});
</script>
	</div>
</div>
<?php $cateinfo=S('cateinfo');?>
      <!--导航end-->
	
	{__CONTENT__}
	<div id="footer">
		<p class="left">
			<a href="#">程序猿</a>
			<span>|</span>
		<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=121383205&site=qq&menu=yes">QQ</a>
		</p>
		<p class="right">
			&copy; SongXiang-Blog 与你分享生活点点滴滴!</a>
		</p>
	</div>
</div>
<script type="text/javascript" charset="utf-8">
	Cufon.now();
	$(function(){
		$("#apple-header.enhanced .links>li").hover(function(){
			$(this).find(">ul").stop(true,true).slideDown('fast');
		},function(){
			$(this).find(">ul").stop(true,true).slideUp('fast');
		});
	});
</script>
</body>
</html>